package com.itheima.demo1;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Log4JTest01 {
//    private static final Logger LOGGER = Logger.getLogger(Log4JTest01.class);
    private static final Logger LOGGER = LoggerFactory.getLogger(Log4JTest01.class);

    public static void main(String[] args) {
        LOGGER.debug("debug日志");
        LOGGER.info("info日志");
        LOGGER.warn("warn日志");
        LOGGER.error("error日志");
    }
}
